package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_harps_activity_draw", desc = "高山鸣琴抽奖", autoSave = true, dataUpload = true, eventName = "confidant_draw", uploadCk = true)
public class LogHarpsActivityDraw extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "当前轮次总抽奖次数", dataAttribute = "confidant_roundnum")
    private int curRoundDrawNum;
    @FieldTypeAnnotation(desc = "抽奖次数(1-10)", dataAttribute = "confidant_time")
    private int playNum;
    @FieldTypeAnnotation(desc = "获得积分", dataAttribute = "confidant_score")
    private long getScore;
    @FieldTypeAnnotation(desc = "当前积分", dataAttribute = "confidant_nowscore")
    private long curScore;
    @FieldTypeAnnotation(desc = "获得奖励", dataAttribute = "confidant_get")
    private String reward;
    @FieldTypeAnnotation(desc = "是否大奖", dataAttribute = "confidant_isbig")
    private boolean isBig;
    @FieldTypeAnnotation(desc = "时间")
    private long operateTime;


    public LogHarpsActivityDraw(int activityId, long userId, int curRoundDrawNum, int playNum, long getScore, long curScore, String reward, boolean isBig, long operateTime) {
        this.activityId = activityId;
        this.userId = userId;
        this.curRoundDrawNum = curRoundDrawNum;
        this.playNum = playNum;
        this.getScore = getScore;
        this.curScore = curScore;
        this.reward = reward;
        this.isBig = isBig;
        this.operateTime = operateTime;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getCurRoundDrawNum() {
        return curRoundDrawNum;
    }

    public void setCurRoundDrawNum(int curRoundDrawNum) {
        this.curRoundDrawNum = curRoundDrawNum;
    }

    public int getPlayNum() {
        return playNum;
    }

    public void setPlayNum(int playNum) {
        this.playNum = playNum;
    }

    public long getGetScore() {
        return getScore;
    }

    public void setGetScore(long getScore) {
        this.getScore = getScore;
    }

    public long getCurScore() {
        return curScore;
    }

    public void setCurScore(long curScore) {
        this.curScore = curScore;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public boolean isBig() {
        return isBig;
    }

    public void setBig(boolean big) {
        isBig = big;
    }

    public long getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(long operateTime) {
        this.operateTime = operateTime;
    }
}
